package org.springframework.beans.factory.xml;

import org.springframework.beans.factory.parsing.DefaultsDefinition;

public class DocumentDefaultsDefinition implements DefaultsDefinition {

    private String lazyInit; //延迟加载

    private String autowire; //自动装配

    private String merge; //属性必须在继承的子bean中定义，而在父bean的集合属性上指定的merge属性将被忽略   仅限集合类

    private String dependencyCheck; //依赖检验

    private String autowireCandidates; //自动装配对象时将不考虑该bean

    private String initMethod; //初始化方法

    private String destroyMethod; //析构方法

    private Object source; //

    public Object getSource() {
        return source;
    }

    public String getLazyInit() {
        return lazyInit;
    }

    public void setLazyInit(String lazyInit) {
        this.lazyInit = lazyInit;
    }

    public String getAutowire() {
        return autowire;
    }

    public void setAutowire(String autowire) {
        this.autowire = autowire;
    }

    public String getMerge() {
        return merge;
    }

    public void setMerge(String merge) {
        this.merge = merge;
    }

    public String getDependencyCheck() {
        return dependencyCheck;
    }

    public void setDependencyCheck(String dependencyCheck) {
        this.dependencyCheck = dependencyCheck;
    }

    public String getAutowireCandidates() {
        return autowireCandidates;
    }

    public void setAutowireCandidates(String autowireCandidates) {
        this.autowireCandidates = autowireCandidates;
    }

    public String getInitMethod() {
        return initMethod;
    }

    public void setInitMethod(String initMethod) {
        this.initMethod = initMethod;
    }

    public String getDestroyMethod() {
        return destroyMethod;
    }

    public void setDestroyMethod(String destroyMethod) {
        this.destroyMethod = destroyMethod;
    }

    public void setSource(Object source) {
        this.source = source;
    }

}
